Automate web scraping and data extraction with Apify -- run Actors, manage datasets, create reusable tasks, and retrieve crawl results through the Composio Apify integration.
Run Apify web scraping Actors and manage datasets directly from Claude Code. Execute crawlers synchronously or asynchronously, retrieve structured data, create reusable tasks, and inspect run logs without leaving your terminal.
Toolkit docs: composio.dev/toolkits/apify
https://rube.app/mcpExecute an Actor and immediately retrieve its dataset items in a single call. Best for quick scraping jobs.
Tool: APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMS
Key parameters:
actorId (required) -- Actor ID in format username/actor-name (e.g., compass/crawler-google-places)input -- JSON input object matching the Actor's schema. Each Actor has unique field names -- check apify.com/store for the exact schema.limit -- max items to returnoffset -- skip items for paginationformat -- json (default), csv, jsonl, html, xlsx, xmltimeout -- run timeout in secondswaitForFinish -- max wait time (0-300 seconds)fields -- comma-separated list of fields to includeomit -- comma-separated list of fields to excludeExample prompt: "Run the Google Places scraper for 'restaurants in New York' and return the first 50 results"
Trigger an Actor run without waiting for completion. Use for long-running scraping jobs.
Tool: APIFY_RUN_ACTOR
Key parameters:
actorId (required) -- Actor slug or IDbody -- JSON input object for the Actormemory -- memory limit in MB (must be power of 2, minimum 128)timeout -- run timeout in secondsmaxItems -- cap on returned itemsbuild -- specific build tag (e.g., latest, beta)Follow up with APIFY_GET_DATASET_ITEMS to retrieve results using the run's datasetId.
Example prompt: "Start the web scraper Actor for example.com asynchronously with 1024MB memory"
Fetch data from a specific dataset with pagination, field selection, and filtering.
Tool: APIFY_GET_DATASET_ITEMS
Key parameters:
datasetId (required) -- dataset identifierlimit (default/max 1000) -- items per pageoffset (default 0) -- pagination offsetformat -- json (recommended), csv, xlsxfields -- include only specific fieldsomit -- exclude specific fieldsclean -- remove Apify-specific metadatadesc -- reverse order (newest first)Example prompt: "Get the first 500 items from dataset myDatasetId in JSON format"
View Actor metadata, input schema, and configuration before running it.
Tool: APIFY_GET_ACTOR
Key parameters:
actorId (required) -- Actor ID in format username/actor-name or hex IDExample prompt: "Show me the details and input schema for the apify/web-scraper Actor"
Configure reusable Actor tasks with preset inputs for recurring scraping jobs.
Tool: APIFY_CREATE_TASK
Configure a task once, then trigger it repeatedly with consistent input parameters. Useful for scheduled or recurring data collection workflows.
Example prompt: "Create an Apify task for the Google Search scraper with default query 'AI startups' and US location"
List Actor runs, browse datasets, and inspect run details for monitoring and debugging.
Tools: APIFY_GET_LIST_OF_RUNS, APIFY_DATASETS_GET, APIFY_DATASET_GET, APIFY_GET_LOG
For listing runs:
datasetId from run details for data retrievalFor dataset management:
APIFY_DATASETS_GET -- list all your datasets with paginationAPIFY_DATASET_GET -- get metadata for a specific datasetFor debugging:
APIFY_GET_LOG -- retrieve execution logs for a run or buildExample prompt: "List the last 10 runs for the web scraper Actor and show logs for the most recent one"
queries or search_terms will be rejected. Always check the Actor's page on apify.com/store for exact field names (e.g., searchStringsArray for Google Maps, startUrls for web scrapers).https:// or http://) in URLs. Many Actors require URLs as objects with a url property: {"startUrls": [{"url": "https://example.com"}]}.APIFY_GET_DATASET_ITEMS has a max limit of 1000 per call. For large datasets, loop with offset to collect all items.relevance not RELEVANCE, all not ALL).APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMS has a maximum waitForFinish of 300 seconds. For longer runs, use APIFY_RUN_ACTOR (async) and poll with APIFY_GET_DATASET_ITEMS.| Tool Slug | Description |
|---|---|
APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMS | Run Actor synchronously and get results immediately |
APIFY_RUN_ACTOR | Run Actor asynchronously (trigger and return) |
APIFY_RUN_ACTOR_SYNC | Run Actor synchronously, return output record |
APIFY_GET_ACTOR | Get Actor metadata and input schema |
APIFY_GET_DATASET_ITEMS | Retrieve items from a dataset (paginated) |
APIFY_DATASET_GET | Get dataset metadata (item count, etc.) |
APIFY_DATASETS_GET | List all user datasets |
APIFY_CREATE_TASK | Create a reusable Actor task |
APIFY_GET_TASK_INPUT | Inspect a task's stored input |
APIFY_GET_LIST_OF_RUNS | List runs for an Actor |
APIFY_GET_LOG | Get execution logs for a run |
Powered by Composio
2790447
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.